'Declaration
Public Overloads Shared Function GetService(Of )() As
'Usage
Dim value As
value = RxApp.GetService(Of TService)()
public static GetService<>()
public function GetService(): ; static;
public static function GetService() : ;
public: static GetService<>();
public:
static GetServicegeneric<typename >
();
Type Parameters
- TService
- Type of the service to retrieve
Return Value
An instance of the service if it could be found
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2